Skip to content

Identify RTM-LAMP temperature and voltage sensors #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joao-victor-s
Copy link
Collaborator

Align attr fields with the SDR structures of the RTM-LAMP LM75 temperature sensors to indicate which part of the card is being monitored

Also add support for MAX11609-based housekeeping voltage sensors on the RTM-LAMP

Align `attr` fields with the SDR structures of the RTM-LAMP LM75
temperature sensors to indicate which part of the card is being
monitored

Also add support for MAX11609-based housekeeping voltage sensors on
the RTM-LAMP
Copy link
Contributor

@gustavosr8 gustavosr8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, please update the PVList with the new PVs.

Comment on lines +36 to +46
{ TempAirIn, 1 , 1 , $(fruid), alias_$(dev), $(dev) }
{ TempAirOut, 2 , 1 , $(fruid), alias_$(dev), $(dev) }
{ TempPSBlock, 3, 1 , $(fruid), alias_$(dev), $(dev) }
{ VoltVS1, 1 , 2 , $(fruid), alias_$(dev), $(dev) }
{ VoltVS2, 2 , 2 , $(fruid), alias_$(dev), $(dev) }
{ VoltN7V, 3 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt7V, 4 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt2V5, 5 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt3V3, 6 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt5V, 7 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt12V_HP, 8 , 2 , $(fruid), alias_$(dev), $(dev) }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, keep the items aligned in the attr column.

Suggested change
{ TempAirIn, 1 , 1 , $(fruid), alias_$(dev), $(dev) }
{ TempAirOut, 2 , 1 , $(fruid), alias_$(dev), $(dev) }
{ TempPSBlock, 3, 1 , $(fruid), alias_$(dev), $(dev) }
{ VoltVS1, 1 , 2 , $(fruid), alias_$(dev), $(dev) }
{ VoltVS2, 2 , 2 , $(fruid), alias_$(dev), $(dev) }
{ VoltN7V, 3 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt7V, 4 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt2V5, 5 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt3V3, 6 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt5V, 7 , 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt12V_HP, 8 , 2 , $(fruid), alias_$(dev), $(dev) }
{ TempAirIn, 1, 1 , $(fruid), alias_$(dev), $(dev) }
{ TempAirOut, 2, 1 , $(fruid), alias_$(dev), $(dev) }
{ TempPSBlock, 3, 1 , $(fruid), alias_$(dev), $(dev) }
{ VoltVS1, 1, 2 , $(fruid), alias_$(dev), $(dev) }
{ VoltVS2, 2, 2 , $(fruid), alias_$(dev), $(dev) }
{ VoltN7V, 3, 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt7V, 4, 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt2V5, 5, 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt3V3, 6, 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt5V, 7, 2 , $(fruid), alias_$(dev), $(dev) }
{ Volt12V_HP, 8, 2 , $(fruid), alias_$(dev), $(dev) }

#------------------------------------------------------------------


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: extra empty line

@gustavosr8
Copy link
Contributor

This changes refers to a specif (yet unreleased) openMMC version and only should be merged when the new release comes up, IMO. The commit message should also refer to it. Maybe something like:

Identify RTM-LAMP sensors following openMMC vx.x.x.

Align the attr field with the SDR structures of the RTM-LAMP. The LM75
temperature sensors now indicate which part of the card is being
monitored, and support has been added for the MAX110609 housekeeping
voltage sensor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants